package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.form;

import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.validate.FormComponentCodeUniqueCheck;
import lombok.Data;

/**
 * @author cheng.huaxing
 * @date 2019-04-04
 */
@Data
public class FormInfoVO {

    @NotBlank
    private String name;

    @NotBlank
    private String key;

    private String description;

    private Integer appId;

    private Integer busiId;

    private Integer version;

    private Integer status ;

    private Object fieldData;

    @FormComponentCodeUniqueCheck
    private Object fields;

    private List<Object> outcomes;

}
